<template>
    <h2>支付成功！！！！</h2>
    <button @click="$router.push('/')">跳转首页</button>
</template>
<script>
import { mapActions } from 'pinia'
import { useCounterStore } from '@/store/index.js'
export default {
    methods: {
        ...mapActions(useCounterStore, ['updateOrderStatus'])

    },
    created() {
        this.updateOrderStatus(this.$route.query.out_trade_no)
    }

}

</script>